From 8da29f48f0679fef5795eb057ea8b96f706c6f40 Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 12 Aug 2010 10:34:20 +0000 Subject: [PATCH] Add missing tables to listTables() Strangely this didn't break mysql like it did for sqlite. --- maintenance/parserTests.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 771e3f7721..15c23f9fee 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -596,16 +596,16 @@ class ParserTest { */ private function listTables() { global $wgDBtype; - $tables = array( 'user', 'page', 'page_restrictions', + $tables = array( 'user', 'user_properties', 'page', 'page_restrictions', 'protected_titles', 'revision', 'text', 'pagelinks', 'imagelinks', 'categorylinks', 'templatelinks', 'externallinks', 'langlinks', 'iwlinks', 'site_stats', 'hitcounter', 'ipblocks', 'image', 'oldimage', - 'recentchanges', 'watchlist', 'math', 'interwiki', + 'recentchanges', 'watchlist', 'math', 'interwiki', 'logging', 'querycache', 'objectcache', 'job', 'l10n_cache', 'redirect', 'querycachetwo', 'archive', 'user_groups', 'page_props', 'category', ); - if ( $wgDBtype === 'mysql' ) + if ( in_array( $wgDBtype, array( 'mysql', 'sqlite' ) ) ) array_push( $tables, 'searchindex' ); // Allow extensions to add to the list of tables to duplicate; -- 2.20.1